/**
 * 中国9号健康产业有限公司
 * Copyright (C) JiuHaoHealth Corporation. All Rights Reserved
 */
package com.jiuhaohealth.kangxun360.chooser;

import com.jiuhaohealth.common.datasource.DataSourceChooser;

/**
 * @author minghui(jackchenmh@gmail.com)
 * @version 2014-3-18 下午5:08:45
 */
public class Kangxun360DataSourceChooser implements DataSourceChooser {
	
	private long userid;
	
	public Kangxun360DataSourceChooser(long userid) {
		this.userid = userid;
	}  
	
	public String choose() {
		if(userid <= 10)
			return "01";
		if(userid <= 20)
			return "02";
		if(userid <= 30)
			return "03";
		if(userid <= 40)
			return "04";
		return "04";
	}
}
